3 public class BooleanTree
{
4 public static void main(String
[] args
) throws FileNotFoundException
{
5 System
.setIn(new FileInputStream("tree.in"));
6 System
.setOut(new PrintStream("tree.out"));
7 Scanner reader
= new Scanner(System
.in
);
9 for (int c
= 1; c
<= N
; ++c
) {
12 System
.out
.println("Case #" + c
+ ": " + res
);
14 System
.out
.println("Case #" + c
+ ": IMPOSSIBLE");